package com.hy.service;


import com.hy.common.base.RespResult;
import com.hy.entity.dto.DepartmentSearchDTO;
import com.hy.entity.pojo.HyDepartment;
import com.hy.entity.vo.HyDepartmentVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface HyDepartmentService {

    RespResult addDepartment(HyDepartment department);
    RespResult deleteDepartment(List<Integer> ids);

    RespResult showDepartment(DepartmentSearchDTO searchDTO);

    RespResult updateDepartment(HyDepartment department);

    RespResult getCanHandleDept();


    List<HyDepartmentVO> listPage(Map<String, Object> queryCondition, Integer pageNo, Integer pageSize);

    void saveStuListWithBatch(List<HyDepartment> data);

    RespResult importExcelBigData(MultipartFile multipartFile, HttpServletRequest request);
}
